<aside class="main">
    <h1><a href="<?php echo url('home/index/index');?>"><img alt="logo图片" src="<?php echo UPLOADS;?>/image/20150929/1443537020.png" width="100%" /></a></h1><br>
    <div style="width:100%; text-align:center; font-weight:bold"><a  href="javascript:void(0)">0755-84575556</a></div>
    <div class="qrcode aside-container"><img src="<?php echo UPLOADS;?>/image/20150911/1441951067.png" /><p>扫一扫微信二维码<i></i></p>
    </div>
    <nav class="aside-container">
        <ul>
            <li><a href="<?php echo url('home/index/index');?>">网站首页</a></li>
            <li><a <?php if(isCurrent(url('home/cases/index'))):?>class="cur" <?php endif;?>href="<?php echo url('home/cases/index');?>">产品案例</a></li>
            <li><a <?php if(isCurrent(url('home/news/index'))):?>class="cur" <?php endif;?> href="<?php echo url('home/news/index');?>">最新资讯</a></li>
        </ul>
    </nav>
    <footer>
        丹宏昊天开发组<br />
        © 2017 深圳丹宏昊天电子商务版权所有</footer>
</aside>
<script type="text/javascript" src="<?php echo JS;?>/jquery-1.9.1.js"></script>
<script type="text/javascript">
    $(".sub-nav .switch").click(function(){
        if($('body').hasClass('open')){
            $(this).attr('data-icon',9);
            $('body').removeClass('open').addClass('close');
        }else{
            $(this).attr('data-icon',8);
            $('body').removeClass('close').addClass('open');
        }

    });
    $(".btns .up").click(function(){
        $("html,body").animate({scrollTop:0},600);
    });
    $(".news-cate-dropdown button").click(function(){
        var box=$(".news-cate-dropdown");
        if(box.hasClass("active")){
            box.removeClass("active");
        }else{
            box.addClass('active');
        }
    })
</script>